package com.cloud.model;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;
import lombok.NoArgsConstructor;

@Document
@Data
@NoArgsConstructor
public class UserRole implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 707069993826500239L;
	@Id
	private String id ;
	private User user ;
	private Role role ;
	private String creater ;
	private String orgi ;
	private Date createtime = new Date();
	
}